Skip to content

Add test to reproduce issue #243, and fix#244

Merged
pberkes merged 2 commits intowichmann-lab:mainfrom
pberkes:fixpooling243
Jul 28, 2025
Merged

Add test to reproduce issue #243, and fix#244
pberkes merged 2 commits intowichmann-lab:mainfrom
pberkes:fixpooling243

Conversation

@pberkes
Copy link
Collaborator

@pberkes pberkes commented Jul 20, 2025

Fix #243

We need to make sure that there is at least one line in each block. The fix matches the condition in the Matlab source core
https://github.com/wichmann-lab/psignifit/blob/5f7241f6288c7dd3e1b34353118ca919ad28e51b/private/poolData.m#L32

Copy link
Collaborator

@guillermoaguilar guillermoaguilar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pberkes pberkes merged commit 29efbe5 into wichmann-lab:main Jul 28, 2025
8 checks passed
@pberkes pberkes deleted the fixpooling243 branch July 28, 2025 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pool_blocks crashes on single-trial blocks

2 participants